﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace TwoWheels
{
    public partial class SiteMaster : System.Web.UI.MasterPage
    {
        public int x;
        protected void Page_Load(object sender, EventArgs e)
        {
        }

       

        protected void NavigationMenu_MenuItemClick(object sender, MenuEventArgs e)
        {

        }
        protected void adminInit(object sender, EventArgs e)
        {
            NavigationMenu.Items.Add(new MenuItem("Panel", "", "", "~/Administrator.aspx"));
        }
        protected void userInit(object sender, EventArgs e)
        {
            NavigationMenu.Items.Add(new MenuItem("Cart", "", "", "~/Account/Cart.aspx"));
        }
        protected void userLogout(object sender, EventArgs e)
        {
            Session["UserShoppingCartInfo"] = null;
        }
    }
}
